home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0091 / xxsend.bat < prev   
DOS Batch File  |  1997-03-24  |  2KB  |  50 lines

  1. Echo off
  2. REM *********************************************************************/
  3. REM                                                                     */
  4. REM   SYSTEM       : HQ-FAX, Uitilities                                 */
  5. REM   COPYRIGHT    : (c) 1993 HTF CONSULTING                            */
  6. REM                                                                     */
  7. REM *********************************************************************/
  8. REM                                                                     */
  9. REM   BAT file name: XXSend.bat                                         */
  10. REM   DESCRIPTION  : Here's the model command for FAX modem brand X.    */
  11. REM                  Alter the command below to the exact Send command  */
  12. REM                  specified in your FAX modem user's manual          */
  13. REM                                                                     */
  14. REM *********************************************************************/
  15. REM
  16. if %1 == 1 goto Covrsolo
  17. if %1 == 2 goto Docsolo
  18. if %1 == 3 goto CovrwDoc
  19. if %1 == 4 goto Docmany
  20. if %1 == 5 goto CDocmany
  21.  
  22. :Covrsolo
  23. Echo Sending Cover letter solo to %3
  24. SENDFAX.exe  Covrletr.FAX %3 %4 %5 %6
  25. goto quit
  26.  
  27. :Docsolo
  28. Echo Sending Document %2 w/out cover letter to %3
  29. SENDFAX.exe  %2.FAX %3 %4 %5 %6
  30. goto quit
  31.  
  32. :CovrwDoc
  33. Echo Sending Document "%2" with cover letter to %3
  34. SENDFAX.exe  Covrletr.FAX %3 %4 %5 %6
  35. SENDFAX.exe  %2.FAX %3 %4 %5 %6
  36.  
  37. :CDocmany
  38. Echo Sending multi-file document "%2" with cover letter  to %3
  39. Copy Covrletr.FAX %2.f00
  40. Erase Covrletr.FAX
  41. goto Sendit
  42.  
  43. :Docmany
  44. Echo Sending multi-file document "%2" w/out cover letter to %3
  45. :Sendit
  46. SENDFAX.exe  %2.F* %3 %4 %5 %6
  47.  
  48. :quit
  49. Echo on
  50.